﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Fin;
using nERP.Model;
using nERP.Model.Bas;
using nERP.Model._Admin;

namespace nERP.ViewModel.Fin.OtherOutlayVMs
{
    public partial class OtherOutlayBatchVM : BaseBatchVM<OtherOutlay, OtherOutlay_BatchEdit>
    {
        public OtherOutlayBatchVM()
        {
            ListVM = new OtherOutlayListVM();
            LinkedVM = new OtherOutlay_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class OtherOutlay_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._OtherOutlay._Supplier")]
        public string SupplierId { get; set; }
        [Display(Name = "_Model._OtherOutlay._MakeUser")]
        public string MakeUserId { get; set; }
        [Display(Name = "_Model._OtherOutlay._InvoicesDate")]
        public DateTime? InvoicesDate { get; set; }
        [Display(Name = "_Model._OtherOutlay._SettlementAccount")]
        public string SettlementAccountId { get; set; }
        [Display(Name = "_Model._OtherOutlay._OutlayType")]
        public Guid? OutlayTypeId { get; set; }
        [Display(Name = "_Model._OtherOutlay._TotalPrice")]
        public decimal? TotalPrice { get; set; }
        [Display(Name = "_Model._OtherOutlay._Status")]
        public StatusTypeEnum? Status { get; set; }
        [Display(Name = "_Model._OtherOutlay._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}